package cn.edu.scau.cmi.chenyiqiu.client;

	import javafx.application.Application;
	import javafx.stage.Stage;
	import javafx.scene.Scene;
	import javafx.fxml.FXMLLoader;
	import javafx.scene.Parent;

	public class SingletonClient extends Application {
	    @Override
	    public void start(Stage primaryStage) {
	        try {
	            // Read file fxml and draw interface.
	            Parent root = FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/chenyiqiu/SingletonClient/Ui.fxml"));
	            Scene scene =new Scene(root);
	            primaryStage.setTitle("My Application");
	            primaryStage.setScene(scene);
	            primaryStage.show();

	        } catch(Exception event) {
	            event.printStackTrace();
	        } 
	    }

	    public static void main(String[] args) {
	        launch(args);
	    }
	
}
